package com.vencent.spring.exception;

import org.springframework.http.HttpStatus;
import org.springframework.web.bind.annotation.ResponseStatus;

/**
 * add status 404 into this Exception, you can use this to bind special exception into the httpStatus.
 * It's a simple way to handle the special exception。
 * RuntimeException 404
 * @author wbw
 */
@ResponseStatus(value=HttpStatus.NOT_FOUND, reason="Student Not Found")
public class StudentsNotFountException extends RuntimeException{

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;

}
